Conditions | 1 |
Total Lines | 27 |
Code Lines | 22 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | import parse from "html-react-parser"; |
||
10 | |||
11 | const JobModalContent = ({ |
||
12 | name, |
||
13 | description, |
||
14 | extent, |
||
15 | applicationDue, |
||
16 | closeModal, |
||
17 | }: TJobContentProps): JSX.Element => { |
||
18 | return ( |
||
19 | <> |
||
20 | <Button variant="danger" onClick={closeModal}> |
||
21 | Lukk |
||
22 | </Button> |
||
23 | <div className={style.jobDiv}> |
||
24 | <span className={style.jobContent}> |
||
25 | <span className={style.jobTitle}> |
||
26 | {name} |
||
27 | <br /> |
||
28 | {extent} |
||
29 | <br /> |
||
30 | {formatDate(applicationDue)} |
||
31 | </span> |
||
32 | <br /> |
||
33 | {parse(description)} |
||
34 | </span> |
||
35 | </div> |
||
36 | </> |
||
37 | ); |
||
40 |